﻿@page "/datetimepickers"

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["Description"]</h4>

<DemoBlock Title="@Localizer["NormalTitle"]" Introduction="@Localizer["NormalIntro"]" Name="Normal" Demo="typeof(Demos.DateTimePicker.DatePickerBodyDemo)" />

<DemoBlock Title="@Localizer["ValueChangedTitle"]" Introduction="@Localizer["ValueChangedIntro"]" Name="ValueChanged" Demo="typeof(Demos.DateTimePicker.TimePickerBodyBindValueDemo)" />

<DemoBlock Title="@Localizer["TimeTitle"]" Introduction="@Localizer["TimeIntro"]" Name="Time" Demo="typeof(Demos.DateTimePicker.TimePickerBodyDemo)" />

<DemoBlock Title="@Localizer["ValidateFormTitle"]" Introduction="@Localizer["ValidateFormIntro"]" Name="ValidateForm" Demo="typeof(Demos.DateTimePicker.DateTimePickerValidateDemo)" />

<DemoBlock Title="@Localizer["DateTimeOffsetTitle"]" Introduction="@Localizer["DateTimeOffsetIntro"]" Name="DateTimeOffset" Demo="typeof(Demos.DateTimePicker.DateTimePickerDateTimeOffsetDemo)" />

<DemoBlock Title="@Localizer["BindValueTitle"]" Introduction="@Localizer["BindValueIntro"]" Name="BindValue" Demo="typeof(Demos.DateTimePicker.DateTimePickerBindValueDemo)" />

<DemoBlock Title="@Localizer["ViewModeTitle"]" Introduction="@Localizer["ViewModeIntro"]" Name="ViewMode" Demo="typeof(Demos.DateTimePicker.DateTimePickerViewMode)">
    <p>@((MarkupString)Localizer["ViewModeTip"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["NullValueTitle"]" Introduction="@Localizer["NullValueIntro"]" Name="NullValue" Demo="typeof(Demos.DateTimePicker.DateTimePickerNullValue)">
    <p>@((MarkupString)Localizer["NullValueTip"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["ShowLabelTitle"]" Introduction="@Localizer["ShowLabelIntro"]" Name="ShowLabel" Demo="typeof(Demos.DateTimePicker.DateTimePickerShowLabel)">
    <p>@((MarkupString)Localizer["ShowLabelTip1"].Value)</p>
    <p>@((MarkupString)Localizer["ShowLabelTip2"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["DisalbedTitle"]" Introduction="@Localizer["DisalbedIntro"]" Name="Disalbed" Demo="typeof(Demos.DateTimePicker.DateTimePickerDisalbed)" />

<DemoBlock Title="@Localizer["ShowSidebarTitle"]" Introduction="@Localizer["ShowSidebarIntro"]" Name="ShowSidebar" Demo="typeof(Demos.DateTimePicker.DateTimePickerShowSidebar)" />

<DemoBlock Title="@Localizer["MinValueTitle"]" Introduction="@Localizer["MinValueIntro"]" Name="MinValue" Demo="typeof(Demos.DateTimePicker.DateTimePickerMinValue)" />

<DemoBlock Title="@Localizer["BlockAutoCloseTitle"]" Introduction="@Localizer["BlockAutoCloseIntro"]" Name="AutoClose" Demo="typeof(Demos.DateTimePicker.DateTimePickerAutoClose)" />

<DemoBlock Title="@Localizer["BlockGroupTitle"]" Introduction="@Localizer["BlockGroupIntro"]" Name="Group" Demo="typeof(Demos.DateTimePicker.DateTimePickerGroup)" />

<AttributeTable Items="@GetAttributes()" />

<EventTable Items="@GetEvents()" />
